#ifndef _PLAYER_DEATH_COMPONENT_H
#define _PLAYER_DEATH_COMPONENT_H

#include "IComponent.h"

class AnimationComponent;
class PlayerDeathComponent : public IComponent
{
public:
	PlayerDeathComponent();
	virtual ~PlayerDeathComponent();

	virtual const std::string getType() { return "PlayerDeathComponent"; }
	virtual const std::string getFamilyType() { return "PlayerDeathComponent"; }

	virtual void update(const GameTime&);
	virtual void init();

protected:
	AnimationComponent* m_animationComponent;
	float m_timer;
};

#endif //_PLAYER_DEATH_COMPONENT_H